@import "../../public/static/asserts/antd-custom.scss";

.search-box{
  position: absolute;
  width: 100%;
  top:0;
  left:0;
  .search-res-box{
    display: none;
  }
  :global{
    .am-search {
      width: 3rem;
      left: 0.375rem;
      padding: 0 !important; 
    }
    .search-res-box{
      display: none;
    }
    .am-search-cancel-show {
      display: none;
    }
    .am-search-input .am-search-synthetic-ph-icon{
      display: none;
    }
    .am-search-input .am-search-synthetic-ph-placeholder,.am-search-input input[type="search"]{
      color:#ffffff;
    }
    .am-search-clear .am-search-clear-show{
      display: none;
    }
    .am-search-input{
      background: #53a0ef;
      border-radius: 0.14rem;
    }
    .am-search-input .am-search-synthetic-ph,.am-search-input input[type="search"]{
      background: #53a0ef;
    }
    .am-search.am-search-start .am-search-input input[type="search"]{
      padding: 0 0.08rem 0 0.08rem;
    }
    .am-search-input .am-search-synthetic-ph{
      transition: width ; 
    }
  }
  
}

.search-active{
  position: fixed;
  z-index: 1002;
  width: 100%;
  height: 100%;
  background-color: $fill-base;
  overflow: hidden;
  :global{
    .am-search{
      background-color: $fill-base;
      box-shadow: 0 0 0.1rem 0.01rem #eeeff5;
    } 
  }
  
}
.search-res-box{
  position: relative;
  padding: 0 0.23rem;
  .res-a{
    display: flex;
    align-items: center;
    height: 100 * $mhd;
    border-bottom: 1 * $mhd solid #f3f4f5;
    color: #000;
    span{
      margin-left: 0.05rem;
    }
  }
  .res-a-active{
    background-color: $fill-active;
  }
  // 
  .brand-box{
    display: flex;
    height: 72 * $hd;
    border-bottom: 1 * $hd solid #EEEEEE;
    align-items: center;
    img{
      width: 72 * $hd;
      height: 48 * $hd;
      box-sizing: border-box;
      border: 1px solid #E8E8E8;
    }
    .name-type{
      margin-left: 12 * $hd;
      .name{
        margin-bottom: 4 * $hd;
        font-size: 17 * $hd;
        color: #484848;
        font-weight:400;
      }
      .typeN{
        font-size: 12 * $hd;
        color: #999999;
      }
    }
  }
}
.no-scroll{
  position: fixed;
  width: 100%;
}
